package ${packages.service};

import ${packages.dto}.${classInfo.className}CreateRequest;
import ${packages.dto}.${classInfo.className}Response;
import ${packages.dto}.${classInfo.className}UpdateRequest;
import ${packages.dto}.${classInfo.className}QueryRequest;
import ${basePackage}.common.PageResponse;

/**
 * ${moduleDisplayName} 服务接口
 * ${moduleSummary}
 * @author ${options.author?default('system')}
 */
public interface ${classInfo.className}Service {

    ${classInfo.className}Response create(${classInfo.className}CreateRequest request);

    ${classInfo.className}Response update(${primaryKeyFieldType} ${primaryKeyFieldName}, ${classInfo.className}UpdateRequest request);

    void delete(${primaryKeyFieldType} ${primaryKeyFieldName});

    ${classInfo.className}Response findById(${primaryKeyFieldType} ${primaryKeyFieldName});

    PageResponse<${classInfo.className}Response> page(${classInfo.className}QueryRequest request);
}
